home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / paths.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  4.8 KB  |  161 lines

  1. [LANGUAGE english; PARENT keywords; PAGE 11-82]
  2. [C;6;B]        FDPATH "<...>" ...
  3.         ICONSPATH "<...>" ...
  4.         LIBPATH "<...>" ...
  5.         OBJPATH "<...>" ...
  6.         WITHPATH "<...>" ...
  7. [7]Default: see below
  8. [J;1;N]
  9.   Defines the list of paths to search the given type of \
  10. file. Any number of directories and assigns can \
  11. appear into your paths. Devices which does not \
  12. exists into your system are not checked. For instance, \
  13. if 'LIB:' does not exist, the path for library \
  14. search will not create the usual DOS requester.) \
  15. Multiple paths may appear into one string, in this \
  16. case you must separate each path with one of the \
  17. following sign (only the first one is conventional):
  18.     . '|' a pipe (Logical OR in C)
  19.     . '+' a plus
  20.     . ' ' a space character
  21.     . ',' a coma
  22.     . '\' a backslash
  23. If you have some spaces into the name of your \
  24. directory, you will have to type its name \
  25. between cotes:
  26. [2]  "'My Path As Spaces'|NormalPath"
  27. [1]become:
  28.   1. My Path As Spaces
  29.   2. NormalPath
  30. (Note: the opposite cotes was used within the string \
  31. definition.)
  32.  
  33.   To indicate the current directory you can use a \
  34. single dot (.), like:
  35. [2]  ".|LK:LIB/|LIB:"
  36. [1]for the default library paths present in lk. If \
  37. you need to use only the current directory an \
  38. empty string is valid, for instance:
  39. [2]  WITHPATH ""
  40. [1]
  41.   Paths are checked in the given order. If you prefer \
  42. to check 'LIB:' before 'LK:LIB/', you could change \
  43. the default path with:
  44.     LIBPATH ".|LIB:|LK:LIB/"
  45.  
  46.   The fact you use one of those instructions, destroy \
  47. the previous list of paths of the given type. If you \
  48. want to suppress all default paths, use the \
  49. instruction NOPATH.
  50.  
  51.   At start, if you have the V36 or more of AmigaDOS, lk \
  52. checks global variables (Present in 'ENV:' assign.) \
  53. All paths can be defined that way and also available \
  54. to all of you links. The variables have the same name \
  55. plus the prefix 'LK/'. To redefine the path for the \
  56. description files, you may type into your CLI:
  57. [2]    setenv LK/FDPATH ".|INCLUDE:FD.FILES/"
  58. [1]This definition is temporary until the next RESET. If you \
  59. want it to become permanent, you must copy each \
  60. variable into the 'ENVARC:' assign.
  61.   Note: the usage of one of the instructions will erase \
  62. the external variable paths.
  63.  
  64.   The available paths and their usage are listed below. \
  65. If you use a specific preference file ('slink.prefs' for \
  66. instance) the starting default will differ. The default \
  67. given here is the defaults which are found into the \
  68. original file (except for those of lk which are internal.) \
  69. The 'c.prefs' file uses the same defaults than lk.
  70.  
  71. [7]    Command: FDPATH
  72. [1]       Type: Description Files
  73.  lk Default: Current Directory
  74.              INCLUDE:FD.FILES/
  75.  Slink Def.: Current Directory
  76.  Blink Def.: Current Directory
  77.   Dice Def.: Current Directory
  78. Instruction: FD
  79.              FDLIB
  80.              LIBFD
  81.  
  82. [7]    Command:  ICONSPATH
  83. [1]       Type: Icon Files
  84.  lk Default: Current Directory
  85.              LK:ICONS/
  86.              SC:ICONS/
  87.              ENV:SYS/
  88.  Slink Def.: Current Directory
  89.              SC:ICONS/
  90.              ENV:SYS/
  91.  Blink Def.: Current Directory
  92.   Dice Def.: Current Directory
  93.              ENV:SYS/
  94. Instruction: DEFICON
  95.              ICON
  96.  
  97. [7]    Command: LIBPATH
  98. [1]       Type: User libraries
  99.              Default objects (*)
  100.  lk Default: Current Directory
  101.              LK:LIB/
  102.              LIB:
  103.  Slink Def.: Current Directory
  104.              LIB:
  105.  Blink Def.: Current Directory
  106.   Dice Def.: Current Directory
  107. Instruction: LIBRARY
  108.              OVERLAYOBJECT
  109.  
  110. [7]    Command: OBJPATH
  111. [1]       Type: User objects
  112.  lk Default: Current Directory
  113.              LK:OBJECT
  114.              OBJECT/
  115.  Slink Def.: Current Directory
  116.  Blink Def.: Current Directory
  117.   Dice Def.: Current Directory
  118. Instruction: <default object files>
  119.              OBJECT
  120.              FROM/ROOT
  121.  
  122. [7]    Command: WITHPATH
  123. [1]       Type: Script Files
  124.  lk Default: Current Directory
  125.              LK:PREFS/
  126.              S:
  127.              SLINKWITH:
  128.  Slink Def.: Current Directory
  129.              SLINKWITH:
  130.  Blink Def.: Current Directory
  131.   Dice Def.: Current Directory
  132. Instruction: WITH
  133.  
  134. (*) Default objects are any automatically loaded \
  135. object file. Those are:
  136.      . 'autorun.o'  (AUTORUN)
  137.      . 'overlay.o'  (OVERLAY)
  138.      . 'library.o'  (AMIGALIBRARY)
  139.      . 'stub.o'     (WARUNDEF)
  140.  
  141.   Note: patterns (or wild cards) are searched only into the current \
  142. directory, event the current directory does not \
  143. exist into the path.
  144.  
  145.   See also:
  146. [L;3][LINK amigalibrary]        AMIGALIBRARY
  147. [LINK autorun]                AUTORUN
  148. [LINK deficon]                DEFICON
  149. [LINK fd]                FD
  150. [LINK fdlib]                FDLIB
  151. [LINK filename]                <filename>
  152. [LINK from]                FROM/ROOT
  153. [LINK icon]                ICON
  154. [LINK libfd]                LIBFD
  155. [LINK library]                LIBRARY
  156. [LINK overlay]                OVERLAY
  157. [LINK overlayobject]            OVERLAYOBJECT
  158. [LINK warundef]                WARUNDEF
  159. [LINK with]                WITH
  160. [5; LINK about; GOTO address]        Become Registred
  161.